From: Richard M. Stallman Date: Tue, 15 Jun 1993 23:17:10 +0000 (+0000) Subject: (xmenu_show): Store 0 in *ERROR at the beginning. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95313 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=07a675b77b2118d466f858239b408959403bd328;p=emacs.git (xmenu_show): Store 0 in *ERROR at the beginning. (Fx_popup_menu): Call keymap_panes right in one-keymap case. --- diff --git a/src/xmenu.c b/src/xmenu.c index 1f70766426d..f067b416283 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -192,7 +192,7 @@ With this form of menu, the return value is VALUE from the chosen item.") /* Extract the detailed info to make one pane. */ number_of_panes = keymap_panes (&obj_list, &menus, &names, &enables, - &items, &menu, 1); + &items, &prefixes, &menu, 1); /* The menu title seems to be ignored, so put it in the pane title. */ if (menus[0] == 0) @@ -329,6 +329,7 @@ xmenu_show (parent, startx, starty, line_list, enable_list, pane_list, int ulx, uly, width, height; int dispwidth, dispheight; + *error = 0; if (pane_cnt == 0) return 0;